package com.zzy.jkb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotBlank;

/**
 * <p>
 * 核酸检测记录
 * </p>
 *
 * @author zzy
 * @since 2023-02-03
 */
@Getter
@Setter
@TableName("nucleic_acid")
@ApiModel(value = "NucleicAcid对象", description = "核酸检测记录")
public class NucleicAcid implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "uuid", type = IdType.ASSIGN_UUID)
    private String uuid;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("创建人")
    private String createBy;

    @ApiModelProperty("检测机构")
    private String checkOrg;

    @ApiModelProperty("检测时间")
    private LocalDateTime checkTime;

    @ApiModelProperty("0 阴 1阳")
    private String checkResult;

    @ApiModelProperty("关联user id")
    @NotBlank(message = "用户id不能为空")
    private String userId;

    @ApiModelProperty("出结果时间")
    private LocalDateTime resultTime;

    @ApiModelProperty("试剂管儿编码（主要用来绑定混检人异常用）")
    @NotBlank(message = "试剂管儿编码不能为空")
    private String pipeCode;



}
